home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
clang
/
cweb31.zip
/
CWEAV-PC.CH
< prev
next >
Wrap
Text File
|
1993-11-19
|
1KB
|
39 lines
This is the change file for CWEB's CWEAVE under DOS
(Contributed by Lee Wittenberg, March 1993)
(Also includes workaround for compiler bug, November 1993,
contributed by Jorge Fernandez Arnaiz -- arnaiz@redvax1.dgsca.unam.mx)
Changes necessary for compiling with Borland C/C++
Use compilation switches -mc -w-pro -Ff=5000
Note: The changes to section 4 are not necessary if using a compiler
that allows >64K arrays.
@x section 1
@d banner "This is CWEAVE (Version 3.1)\n"
@y
@d banner "This is CWEAVE (Version 3.1pc)\n"
@z
@x section 4
@d max_bytes 90000 /* the number of bytes in identifiers,
@y
@d max_bytes (unsigned)60000 /* the number of bytes in identifiers,
@z
@x
@d max_refs 20000 /* number of cross-references; must be less than 65536 */
@y
@d max_refs 10000 /* number of cross-references; must be less than 65536 */
@z
@x section 163
@ @<Change |pp| to $\max...@>=
@y
@ @<Change |pp| to $\max...@>=
#ifdef __MSDOS__
if (d<0 && pp+d>pp) pp=scrap_base; /* segmented architecture caused wrap */
else
#endif
@z